'use strict';
/**
 * template config
 */
export default {
	type: 'nunjucks',
	content_type: 'text/html',
	file_ext: '.html',
	file_depr: '/',
	root_path: think.ROOT_PATH + '/view',
	adapter: {
		nunjucks: {
			prerender: function(nunjucks, env) {
				env.addFilter('getUrlParam', function(url, key) {
					return getUrlParam(url, key);
				});
			}
		}
	}
};